﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Panel.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	<%=System.Configuration.ConfigurationManager.AppSettings["pageTitle"] %>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

<div class="listHeader">
    <img src="../../Images/ListImages/marqueelist.png" alt="" class="listHeaderIco" />
    <div class="listHeaderText">Kayan Yazı Yöneticisi : Yeni</div>
    
    <div class="listHeaderMenuBox">
        <% Html.RenderPartial("/views/shared/userControls/acceptance.ascx",
               new Prodma.DataAccess.Models.UserControlViewModels.AcceptanceVm() { View = "marquee" }); %>
    </div>
</div>

<form method="post" action="/marquee/new/">
<div class="detailContainer">
    <div class="detailSection-50pc">
        <div class="detailSectionHeader">Giriş Bilgileri</div>
        <div class="detailSectionRow">
            <div class="detailSectionRowTitle-20pc">Adı :</div>
            <div class="detailSectionRowText-80pc"><input type="text" id="name" name="name" maxlength="50" class="detailSectionControl" /></div>
        </div>
        <div class="detailSectionRow">
            <div class="detailSectionRowTitle-20pc">Başlık :</div>
            <div class="detailSectionRowText-80pc"><input type="text" id="title" name="title" maxlength="250" class="detailSectionControl" /></div>
        </div>
        <div class="detailSectionRow">
            <div class="detailSectionRowTitle-20pc">Link :</div>
            <div class="detailSectionRowText-80pc"><input type="text" id="url" name="url" maxlength="250" class="detailSectionControl" /></div>
        </div>
        <div class="detailSectionRow">
            <div class="detailSectionRowTitle-20pc">Hedef :</div>
            <div class="detailSectionRowText-80pc"><%=Html.DropDownList("ddlTarget", (SelectList)ViewData["targetList"], "Seçiniz", new { @class = "detailSectionControlCombo" })%></div>
        </div>
    </div>
    <div class="detailSection-50pc">
        <div class="detailSectionHeader">Sistem Bilgileri</div>
        <div class="detailSectionRow">
            <div class="detailSectionRowTitle-20pc">Durum :</div>
            <div class="detailSectionRowText-80pc"><%=Html.DropDownList("ddlState", (SelectList)ViewData["stateList"], "Seçiniz", new { @class = "detailSectionControlCombo" })%></div>
        </div>
        <div class="detailSectionRow">
            <div class="detailSectionRowTitle-20pc">Proje :</div>
            <div class="detailSectionRowText-80pc"><%=Html.DropDownList("ddlProject", (SelectList)ViewData["projectList"], "Seçiniz", new { @class = "detailSectionControlCombo" })%></div>
        </div>
        <div class="detailSectionRow">
            <div class="detailSectionRowTitle-20pc">Dil :</div>
            <div class="detailSectionRowText-80pc"><%=Html.DropDownList("ddlLanguage", (SelectList)ViewData["languageList"], "Seçiniz", new { @class = "detailSectionControlCombo" })%></div>
        </div>
    </div>
</div>
</form>

<script type="text/javascript">
    function submitForm() {
        if (marqueeValidate()) {
            document.forms[0].submit();
        }
    }
</script>

</asp:Content>
